package com.interface_;

public class Interface01 {
    public static void main(String[] args) {
        Camera camera = new Camera();
        Phone phone = new Phone();

        //创建计算机
        Computer computer = new Computer();
        computer.work(phone);
        System.out.println("=================");
        computer.work(camera);


    }


}
